package smartlifev30.com.sdk.bean.response;

import java.util.List;

/**
 * Created by uesr on 2018/8/9.
 */

public class TimeQueryResponse {
    /**
     * api_version : 0.1
     * end : 1
     * from : 08541B174795
     * msg_class : timer_mgmt
     * msg_id : ANDup-077
     * msg_name : timer_query
     * msg_type : response
     * status : 0
     * timer_list : [{"create_time":"2018-05-28 11:53:07","date":"2018-05-30","id":1,"instruct_list":[{"delay":0,"id":10,"scene_id":1,"type":1}],"name":"我","state":"off","time":"11:52:00","type":0}]
     * to : 18782918305
     * token : 3d60a48fd2f4416b84690b642b2c5415
     */

    private String api_version;
    private int end;
    private String from;
    private String msg_class;
    private String msg_id;
    private String msg_name;
    private String msg_type;
    private int status;
    private String to;
    private String token;
    private List<TimerListBean> timer_list;

    public String getApi_version() {
        return api_version;
    }

    public void setApi_version(String api_version) {
        this.api_version = api_version;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMsg_class() {
        return msg_class;
    }

    public void setMsg_class(String msg_class) {
        this.msg_class = msg_class;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public String getMsg_name() {
        return msg_name;
    }

    public void setMsg_name(String msg_name) {
        this.msg_name = msg_name;
    }

    public String getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<TimerListBean> getTimer_list() {
        return timer_list;
    }

    public void setTimer_list(List<TimerListBean> timer_list) {
        this.timer_list = timer_list;
    }

    public static class TimerListBean {
        /**
         * create_time : 2018-05-28 11:53:07
         * date : 2018-05-30
         * id : 1
         * instruct_list : [{"delay":0,"id":10,"scene_id":1,"type":1}]
         * name : 我
         * state : off
         * time : 11:52:00
         * type : 0
         */

        private String create_time;
        private String date;
        private int id;
        private String name;
        private String state;
        private String time;
        private int type;
        private List<InstructListBean> instruct_list;

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<InstructListBean> getInstruct_list() {
            return instruct_list;
        }

        public void setInstruct_list(List<InstructListBean> instruct_list) {
            this.instruct_list = instruct_list;
        }

        public static class InstructListBean {
            /**
             * delay : 0
             * id : 10
             * scene_id : 1
             * type : 1
             */

            private int delay;
            private int id;
            private int scene_id;
            private int type;

            public int getDelay() {
                return delay;
            }

            public void setDelay(int delay) {
                this.delay = delay;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getScene_id() {
                return scene_id;
            }

            public void setScene_id(int scene_id) {
                this.scene_id = scene_id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
